package com.hm.oauth.model;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.oauth.def.OauthDef;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 下午2:11:28 2016年8月30日
 * @version 1.0
 * @describe 
 */
@Setter
@Getter
@Document(collection = OauthDef.DB.PREFIX + "client")
public class ClientModel extends BaseModel{

	private static final long serialVersionUID = 1L;

	private String name;
	
	@Field("client_id")
	private String clientId;
	
	@Field("client_secret")
	private String clientSecret;
	
	private String note;
}
